home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
AppleEvents
/
Records
/
AEStruct.cp
< prev
next >
Wrap
Text File
|
2000-06-23
|
357b
|
23 lines
// AEStruct.cp
#ifndef AEStruct_h
#include "AEStruct.h"
#endif
#ifndef OSError_h
#include "OSError.h"
#endif
AEStruct::AEStruct()
{
ThrowOSError( AECreateList( 0, 0, true, this ) );
}
uint32 AEStruct::Length() const
{
Assert( !IsNull() );
int32 length;
ThrowOSError( AECountItems( this, &length ) );
Assert( length >= 0 );
return length;
}